<?php

/**
 * Capital Direct Lending (http://www.philbsd.com/cdl)
 *
 * Copyright (C) 2008 Philippine Business Solution Developers <http://www.philbsd.com>
 * All rights reserved.
 *
 *
 * LICENSE
 *
 * This source file is subject to the GNU General Public License v3 license
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@philbsd.com so we can send you a copy immediately.
 *
 * @copyright  (c) 2008 Philippine Business Solution Developers. (http://www.philbsd.com)
 * @license    http://www.gnu.org/licenses/gpl-3.0.txt
 * @version    $Id: index.phtml 42 2008-03-12 10:05:35Z philbsd $
 */

?><div class="middle">
	<div class="simple-container-left" id="page:main-container">
    	<div class="container" id="page:container">
        	<div class="main">
            	<div class="content-container">
                	<div class="content" id="content">
                    	<div class="content-header">
                        	<table class="grid-header" cellspacing="0" border="0">
		                    	<tbody>
                                	<tr>
                                    	<td style=""><h3 class="icon-head head-customer">Manage Loan</h3></td>
                                        <td class="a-right"><button type="button" class="scalable add" onclick="setLocation('<?php echo $this->baseUrl; ?>/loan/edit')" style=""><span>Add New Loan</span></button></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    	<div id="messages"> </div>

                        <form name="form1" id="form1" action="/" method="post">
				        	<div class="entry-edit">
					     		<fieldset>
					     			<table cellspacing="0" class="grid-header" border="0" width="100%">
                                    	<tbody>
                                        	<tr>
                                            	<td>
                                                	<b>Search by :</b>
                                                    <select id="_loan_status_id" name="loan[status_id]" class="required-entry required-entry select" type="select">
                                                    	<option value="1">- Choose -</option>
                                                        <option value="2">Loan ID</option>
								    					<option value="3">Borrower ID</option>
								    					<option value="4">Borrower Name</option>
								    					<option value="5">Borrower Lastname</option>
                                                    </select>
                                                    <input id="_loan_total_amount" name="loan[total_amount]" value="" class="required-entry required-entry input-text" type="text">
                                                    &nbsp;
                                                    <button type="button" class="scalable add" onclick="setLocation('')" style=""><span>Search</span></button>
                                                </td>
                                            </tr>
                                            <tr>
                                            	<td> &nbsp;</td>
                                            </tr>
						     				<tr>
								        		<td>
													<table style="background-color:#dddddd" border ="0" width="100%" cellspacing="1" class="data" id="customerGrid_table">
        	                                        	<tbody>
  							                				<thead>
                                                            	<tr style="background-color:#defdef" class="headings">
                                                                	<th ><span class="nobr">&nbsp;</span></th>
                                                                    <th ><span class="nobr"><a href="#" name="id" class="sort-arrow-asc"><span class="sort-title">Loan ID</span></a></span></th>
                                                                    <th ><span class="nobr"><a href="#" name="firstname" class="not-sort"><span class="sort-title">Borrower ID</span></a></span></th>
																	<th ><span class="nobr"><a href="#" name="lastname" class="not-sort"><span class="sort-title">Name</span></a></span></th>
                                                                    <th ><span class="nobr"><a href="#" name="id" class="sort-arrow-asc"><span class="sort-title">Last Name</span></a></span></th>
                                                                    <th ><span class="nobr"><a href="#" name="firstname" class="not-sort"><span class="sort-title">Photo</span></a></span></th>
                                                                    <th  class=" no-link last"><span class="nobr">Action</span></th>
                                                                </tr>
                                                            </thead>
                                                            <tr id="" style="background-color:#eeeeee">
								        						<td class=" "><input type="checkbox" name="" value="3" class="massaction-checkbox"/></td>
			                                                	<td class=" ">1</td>
                                                                <td class=" ">20080001</td>
			                                                	<td class=" ">Jundie </td>
			                                                	<td class=" ">Chan</td>
			                                                	<td class=" "></td>
			                                                	<td ><a href="<?php echo $this->baseUrl; ?>/loan/view/id/1" class="">View</a></td>
							                				</tr>
							                				<tr id="" style="background-color:#ffffff">
			                                                	<td class=" "><input type="checkbox" name="" value="2" class="massaction-checkbox"/></td>
			                                                	<td class=" ">2</td>
                                                                <td class=" ">20080003</td>
			                                                	<td class=" ">Art</td>
			                                                	<td class=" ">Layese</td>
			                                                	<td class=" "></td>
			                                                	<td ><a href="<?php echo $this->baseUrl; ?>/loan/view/id/2" class="">View</a></td>
			                                               	</tr>
														</tbody>
													</table>
													<br />
													<button type="button" class="scalable delete" onclick="setLocation('')" style=""><span>Delete Selected Loan</span></button>
                                                </tbody>
											</table>
										</fieldset>
									</div>
							</form>
						</div>
					</div>
					<div class="section-menu" id="page:left">
						<h3>Loan Center</h3>
						<ul id="loan_info_tabs" class="tabs">
						    <li>
						        <a href="<?php echo $this->baseUrl; ?>/loan" title="Loans" class="tab-item-link active">
					            <span><div class="changed" title="The information in this tab has been changed."></div><div class="error" title="This tab contains invalid data. Please solve the problem before saving.">
								</div>Loans</span>
						        </a>
						    </li>
						    <li>
						        <a href="<?php echo $this->baseUrl; ?>/payment" title="Payment" class="tab-item-link">
					            <span><div class="changed" title="The information in this tab has been changed."></div><div class="error" title="This tab contains invalid data. Please solve the problem before saving.">
								</div>Payment</span>
						        </a>
						    </li>
						</ul>
						<div class="bottom"></div>
					</div>
              	</div>
			</div>
		</div>
	</div>
</div>